package com.demo.websocket.web;

import javax.servlet.http.HttpSession;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;


import com.outstanding.framework.core.PendingException;
import com.outstanding.framework.plugin.springmvc.WebLogger;

@Controller
@RequestMapping("/")
public class DemoController {

	
	
	@RequestMapping(value = "/say.do", method = RequestMethod.GET, produces = MediaType.ALL_VALUE)
	public @ResponseBody void say(String userid,HttpSession session) throws PendingException {
		WebLogger.debug("调用say:" + userid);
		return;
	}
}
